System and method for enabling control of mobile device functional components

ABSTRACT

A system is provided including a non-transitory computer readable storage medium that causes a mobile device to store client states indicating statuses of mobile device functional components. Each client state corresponds to a functional component. A client digest of the client state is stored. A server digest corresponding to a server state and the client digest is received from a server. The server state indicates a status of a mobile device functional component. The server digest is compared with the client digest. A state request is transmitted to the server responsive to a determination of a difference between the server digest and client digest. The server state is received from the server. The functional component is enabled or disabled as indicated by the server state. The server state and digest are stored as the client state and digest respectively. Methods for control of mobile device functional components are also provided.

CROSS REFERENCE TO RELATED APPLICATION(S)

This application is a continuation-in-part of U.S. application Ser. No.13/217,093, filed Aug. 24, 2011. This application further claims thebenefit of U.S. Provisional Application No. 61/749,904, filed Jan. 7,2013. Application Ser. No. 13/217,093 and 61/749,904 are incorporated byreference as if fully set forth.

FIELD OF INVENTION

The present invention is generally related to wired and wirelesscommunications.

BACKGROUND

The growing ubiquity of locatable mobile devices such as mobiletelephones, smart phones, cellular-enabled personal computers and GPSsystems has created a demand for applications offering novel content onmobile devices. Known applications exist to provide games, socialnetworking, navigation assistance, locating of points of interest,location tracking, advertising, and consumer and business-relatedservices via a user's mobile device.

Developers of applications for mobile devices are often burdened by thecomplexity in designing applications which function effectively nomatter the type of mobile device or the telecommunication carrierservicing the mobile device. An application typically needs to controlmobile device functionality and retrieving data from a particular mobiledevice. However, effecting mobile device control and aggregating andmaintaining data required for application functionality is often toocomplex and time consuming to make application development worthwhileand cost effective. It would be desirable to provide a system whichfacilitates the development and maintenance of applications for mobiledevices by addressing issues of complexity in mobile device control anddata collection.

Operating systems such as APPLE™ IOS™, MICROSOFT™ WINDOWS™, and ANDROID™make use of badges to store application specific information. Badges arecommonly used to relate application information to a user while theapplication is operating in a background state. For example, badgenumbers may be displayed in a user interface on an application icon ofan email client to convey the number of unread emails while the emailclient is operating in a background state. Applications typically haveless functionality and correspondingly use less system resourcesoperating in a background state (“in the background”) than in aforeground state (“in the foreground”).

SUMMARY

A system is provided comprising a non-transitory computer readablestorage medium having encoded thereon instructions that, when executedon a processor of a mobile device, cause the mobile device to perform aprocess. The process includes storing a plurality of client statesindicating statuses of functional components of the mobile device,wherein each of the plurality of client states corresponds to at leastone of the functional components. For each of the plurality of clientstates, a client digest of the client state is stored on the mobiledevice. Periodic transmissions of a particular server digest arereceived via the network from a server, which particular server digestcorresponds to a particular one of a plurality of server statesmaintained by the server, and which server states indicate statuses offunctional components of the mobile device, wherein the particularserver digest further corresponds to one of the plurality of clientdigests. The particular server digest is compared with the correspondingclient digest. A state request corresponding to the particular one of aplurality of server states is transmitted to the server via a networkresponsive to a determination of a difference between the particularserver digest and the corresponding client digest. The particular one ofthe plurality of server states is received from the server via thenetwork. At least one of the functional components is enabled ordisabled as indicated by the received particular one of the plurality ofserver states. The received particular one of the plurality of serverstates is stored as the corresponding client state; and the receivedparticular server digest is stored as the corresponding client digest.

A method is provided for enabling control of mobile device functionalcomponents. The method includes storing with a server within the networka plurality of server states and a plurality of server digestsrespectively corresponding to the plurality of server states, whereinthe server states and the server digests correspond to a particularmobile device. A plurality of client states are stored with the mobiledevice indicating statuses of functional components of the mobiledevice, wherein each of the plurality of client states corresponds to atleast one of the functional components. For each of the plurality ofclient states, a client digest of the client state is stored with themobile device. A request to modify the status of at least one of thefunctional components of the mobile device is received with the serverfrom an application via the network. The method further includesupdating with the server at least one of the server states and at leastone of the server digests corresponding to the at least one of thefunctional components of the mobile device responsive to the requestfrom the application to modify the status of the at least one of thefunctional components. The at least one updated server digest istransmitted from the server to the mobile device via the network. The atleast one updated server digest is received with the mobile device viathe network from the server, wherein the at least one updated serverdigest corresponds to at least one of the client digests. The at leastone updated server digest is compared with the corresponding at leastone client digest with the mobile device. A state request correspondingto the at least one updated server state is transmitted from the mobiledevice to the server via the network responsive to a determination of adifference between the at least one updated server digest and thecorresponding at least one client digest. The state request is receivedwith the server from the mobile device. The at least one updated serverstate is transmitted from the server to the mobile device. The at leastone updated server state is received with the mobile device from theserver via the network. At least one of the functional components isenabled or disabled with the mobile device as indicated by the receivedat least one updated server state. The received at least one updatedserver state is stored with the mobile device as the corresponding atleast one client state, and the received at least one updated serverdigest is stored with the mobile device as the corresponding at leastone client digest.

Another method is provided for enabling control of mobile devicefunctional components. The method includes providing a server within anetwork, wherein the server comprises at least one computing systemwithin the network. A plurality of server states and a plurality ofserver digests respectively corresponding to the plurality of serverstates corresponding to a particular mobile device are stored with theserver. A request to modify the status of at least one of the functionalcomponents of the particular mobile device is received with the serverfrom an application via the network. At least one server state and atleast one server digest corresponding to the at least one of thefunctional components of the particular mobile device are updated withthe server responsive to the request from the application to modify thestatus of the at least one of the functional components. the at leastone updated server digest is transmitted with the server to theparticular mobile device. A state request corresponding to the at leastone updated server state is received with the server from the particularmobile device; and at least one updated server state is transmitted tothe to the particular mobile device responsive to the state request.

A method for initiating and performing an action on a computing deviceis provided. The method includes transmitting by a server via a networka message to an application executable on a computing device, theapplication corresponding to a badge enabled by an operating system ofthe computing device, the message comprising a request to change astatus indicator of the badge. The message is received by the computingdevice and the status indicator of the badge is changed responsive tothe message. The application polls to determine a change in the statusindicator of the badge, and the application determines a change in thestatus indicator of the badge based on the polling. The applicationtransmits via the computing device a state request to the server for afunctional component state corresponding to at least one functionalcomponent of the device, wherein the state request is transmitted atleast based on the determination of the change in the status indicator.The server receives the state request. The server transmits thefunctional component state to the computing device. The computing devicereceives from the server the functional component state. The applicationdetermines that the functional component state indicates a requirementto perform a particular action, and the application performs theparticular action.

Another method for initiating and performing an action on a mobilecomputing device is provided. The method includes receiving by acomputing device via a network a message transmitted to an applicationon the computing device, the application corresponding to a badgeenabled by an operating system of the computing device, the messagecomprising a request to change a status indicator of the badge. Thecomputing device changes the status indicator of the badge responsive tothe message. The application polls to determine a change in the statusindicator of the badge. The application determines a change in thestatus indicator of the badge based on the polling. The applicationtransmits via the computing device a state request to a server for afunctional component state corresponding to at least one functionalcomponent of the device, wherein the state request is transmitted atleast based on the determination of the change in the status indicator.The computing device receives from the server the functional componentstate. The application determines that the functional component stateindicates a requirement to perform a particular action, and theparticular action is performed.

A system for initiating and performing an action on a computing deviceis provided. The system includes a server and a computing deviceoperable in a network. The server is configured to transmit via thenetwork a message to an application executable on the computing device,the application corresponding to a badge enabled by an operating systemof the computing device, the message comprising a request to change astatus indicator of the badge. The computing device is configured toreceive the message and change the status indicator of the badgeresponsive to the message. The computing device is configured to enablepolling by the application to determine a change in the status indicatorof the badge. The computing device is configured to enable determiningby the application a change in the status indicator of the badge basedon the polling. The computing device is configured to enabletransmitting a state request to the server for a functional componentstate corresponding to at least one functional component of the device,wherein the state request is transmitted at least based on thedetermination of the change in the status indicator. The server isconfigured to receive the state request. The server is configured totransmit the functional component state to the computing device. Thecomputing device is configured to receive from the server the functionalcomponent state. The computing device is configured to enabledetermining by the application that the functional component stateindicates a requirement to perform a particular action, and thecomputing device is configured to perform the particular action.

BRIEF DESCRIPTION OF THE DRAWING(S)

The foregoing Summary as well as the following detailed description willbe readily understood in conjunction with the appended drawings whichillustrate embodiments of the invention. In the drawings:

FIG. 1 shows an operating environment including a server state managerand a client state manager.

FIGS. 2 and 3 are diagrams depicting example implementations of theclient state manager and the server state manager of FIG. 1.

FIG. 4 is a diagram depicting example functional components supported bya particular mobile device implementing the client state manager of FIG.1.

FIGS. 5A and 5B are diagrams depicting relationships between examplefunctional components supported by a particular mobile deviceimplementing the client state manager of FIG. 1.

FIGS. 5C and 5D are diagrams depicting relationships between examplefunctional components and related parameters supported by a particularmobile device implementing the client state manager of FIG. 1.

FIGS. 6-9 are illustrative communication flows between the client statemanager and the server state manager of FIG. 1.

FIG. 10 is a diagram depicting application program interfaces (“APIs”)enabled by an interface of the server state manager of FIG. 1.

FIG. 11 is a diagram showing client-side operations of a method forinitiating and performing an action on a computing device.

FIG. 12 is a diagram showing server-side operations corresponding to themethod of FIG. 11.

DETAILED DESCRIPTION OF THE INVENTION

Referring to FIG. 1, a schematic illustration is shown of an exemplaryoperating environment 10 in which a server state manager 20 functions ina communications network 90, preferably including one or more wired orwireless networks or a combination thereof. The server state manager 20and its constituent elements are preferably implemented on a server viahardware components, software components sharing one or more processingunits, or a suitable combination thereof. As described herein, a serveris a computer system or a plurality of computer systems integrallyconstructed or connected via a network. The server state manager 20 hasa client interface 22 and a third party interface 24. The clientinterface 22 interfaces with a client state manager 50 via a synchronousinterface 52 and an asynchronous interface 54. The third party interface24 is configured to interface with a third party application 70. Theclient state manager 50 is preferably implemented via encodedinstructions on a mobile device, which mobile device preferablyfunctions as a wireless transmitting and receiving device with cellulartelephone functionality, and which instructions can be hardware orsoftware enabled. The third party application 70 can reside on themobile device on which the client state manager 50 is implemented.Alternatively, the third party application 70 can reside on a separatecomputer system in communication with the server state manager 20 viathe communications network 90.

The client state manager 50 includes a functional component enablementengine 64 which is configured to enable and disable functionalcomponents of a mobile device implementing the client state manager 50.Functional components of a mobile device preferably include software orhardware driven features, settings, capabilities and resources.Different mobile devices may correspond to different functionalcomponents.

The client interface 22 preferably implements a Representational StateTransfer styled application program interface (“RESTful API”) forcommunication with the client state manager 50. The server state manager20 further exposes functional components of a mobile device implementingthe client state manager 50 to a participating third party application70 via the third party interface 24 using a another RESTful API.Alternatively, other suitable application program interface architecturecan be leveraged for server state manager communications.

The server state manager 20 includes a server state database 26 whichstores states which indicate statuses of functional components of eachmobile device implementing the client state manager 50. The statuses ofthe functional components of the mobile device can comprise anindication of whether a particular functional component is enabled ordisabled or an indication of one or more scheduled time periods when aparticular functional component is enabled or disabled. The statuses ofthe functional components can further include a particular set ofmodifiable parameters. A server digest database 28 stores a digest foreach of the states. Each digest is preferably determined via a hashfunction applied to elements of a respective state by a digestgeneration engine 30. The client state manager 50 includes a clientstate database 56 which stores states and a client digest database 58which stores digests respectively corresponding to the stored states,which states and digest are received from the server state manager 20.For the purpose of clarity, states and digests corresponding to aparticular mobile device and stored by the server state manager 20 arerespectively termed “server states” and “server digests”, and serverstates and server digests received from the server state manager 20 andstored by the client state manager 50 are respectively termed “clientstates” and “client digests”.

The server state manager 20 is configured to receive from a third partyapplication 70 via the third party interface 24 a request to modify thestatus of one or more functional components of a particular mobiledevice implementing the client state manager 50. An application'srequest to modify a functional component status can come in the form ofa preference indication, for example “turn on mobile device locationstreaming” or “turn off mobile device location streaming”. Anapplication's request can further include modification of one or moreparameters of a functional component. The server state manager 20 usesthe state update engine 32 to update one or more server statesrespectively corresponding to the one or more of the functionalcomponents responsive to the request from the third party application 70to modify the status of the functional components. When a particularserver state is updated, a corresponding server digest is updated viathe digest generation engine 30. Further, a particular functionalcomponent can be related to other functional components, wherein anapplication's request to modify the status of a particular functionalcomponent triggers the update of the state and digest corresponding tothe particular functional component and one or more states and digestscorresponding to one or more related functional components.

In response to server state and server digest updates, updated serverdigests are transmitted from the server state manager 20 via the clientinterface 22 to a mobile device implementing the client state manager50. The server state manager 20 is configured to transmit updated serverdigests to the mobile device in asynchronous communications via theasynchronous interface 54 of the client state manager 50, for exampleusing Short Message Service (“SMS”) protocol. The client state manager50 compares each received server digest with its corresponding clientdigest using the digest comparison engine 60. If a difference between aparticular server digest and the corresponding client digest isdetected, a state request corresponding to the particular state isgenerated by a state request engine 62, and the state request istransmitted to the server state manager 20 via the client interface 22.

State requests are preferably made by the client state manager 50 in asynchronous communication via the synchronous interface 52, for exampleusing Hypertext Transfer Protocol Secure (“HTTPS”). The server statemanager 20 transmits via the client interface 22 a particular serverstate responsive to a corresponding state request in a synchronouscommunication, which is preferably the synchronous communication inwhich the state request was transmitted. The transmitted server statecan be the same updated server state represented by the server digesttransmitted to the client state manager 50 in the asynchronouscommunication indicated above. Alternatively, if the updated serverstate has been re-updated since the asynchronous transmission of thecorresponding server digest, the re-updated server state can betransmitted to the client state manager 50. The server state ispreferably transmitted along with the corresponding current digest inthe synchronous communication, and the received state and digest arestored in the respective client state database and client digestdatabase 58. Transmitting the most current digest in the synchronouscommunication is important since it is possible that the particularserver state and corresponding server digest may have been re-updated bythe state update engine 32 of the server state manager 20 since theupdated digest was transmitted to the client state manager 50 in theasynchronous communication. Further, additional server digestscorresponding to functional components related to the particularfunctional component can be transmitted with the state and digest of theparticular functional component responsive to the state request.Thereafter, the client state manager's digest comparison engine 60compares each received additional server digest with its correspondingclient digest and transmits another state request if a difference isdetermined between an additional server digest and its correspondingclient digest, and the server state manager 20 thereafter returns one ormore states corresponding to the new state request.

The client state manager 50 uses the functional component enablementengine 64 to enable or disable a functional component as indicated bythe received corresponding server state. The received server state isstored by the client state manager 50 as the corresponding client statein the client state database 56, preferably overwriting the existingcorresponding client state. Similarly, the received server digest isstored by the client state manager 50 as the corresponding client digestin the client digest database 58, preferably overwriting the existingcorresponding client digest.

Referring to FIG. 2, an example implementation 100 of the invention isshown in which the third party application 70 resides on a mobile device150 on which the client state manager 50 is implemented. The serverstate manager 20 is implemented on a state server 120. A messageaggregation server 180 executing a message aggregator 80, for example aShort Message Service (“SMS”) aggregator or Short Message Service Center(“SMSC”), disseminates asynchronous communications 102, for example SMSmessages, from the server state manager 20 to the client state manager50, for example via a wireless telecommunications network. Synchronouscommunications 104, 106, for example implementing HTTPS through a datanetwork, are initiated between the client state manager 50 and theserver state manager 20 and between the third party application 70 andthe server state manager 20, respectively.

Referring to FIG. 3, in another example implementation 200 of theinvention the third party application 70 can alternatively reside awayfrom the mobile device 150 on a separate computer system such as anapplication server 170 in communication with the server state manager20, for example via a data network. The message aggregation server 180disseminates asynchronous communications 202, for example SMS messages,from the server state manager 20 to the client state manager 50.Synchronous communications 204, 206 are initiated between the clientstate manager 50 and the server state manager 20 and between the thirdparty application 70 and the server state manager 20, respectively.

As indicated above, functional components can include a mobile device'ssoftware or hardware driven features, settings, capabilities andresources. Tables 1-4 below respectively show example features,capabilities, settings and resources, with associated component numbers,which can be enabled and disabled by the functional component enablementengine 64 of the client state manager 50 on a particular mobile device.Alternatively other suitable functional components can be enabled by theclient state manager 50. Table 5 below shows example parameters whichcan be set for particular features and capabilities via applicationrequest.

TABLE 1 No. Feature F1 Location data access F2 Short message service(“SMS”) access F3 Multimedia messaging service (“MMS”) access F4 Voicecall access F5 Global positioning system (“GPS”) access/control F6Applications control F7 Contact access F8 Device interface lockingcontrol F9 Communication with device user

TABLE 2 No. Setting S1 Networking retry time interval S2 Networkingmaximum number of retries S3 GPS timeout time S4 GPS maximum acceptableprecision S5 Device interface locking triggering driving speed S6 Deviceinterface locking triggering minimum travel distance S7 Mobile deviceheartbeat time interval S8 Network location timeout time

TABLE 3 No. Capability Parent Feature C1 Location Streaming F1 (Locationdata access) C2 On demand location requesting F1 C3 Gathering incomingSMS activity F2 (SMS access) C4 Gathering outgoing SMS activity F2 C5Gathering incoming MMS activity F3 (MMS access) C6 Gathering outgoingMMS activity F3 C7 Gathering incoming voice call activity F4 (Voice callaccess) C8 Gathering outgoing voice call activity F4 C9 Detection ofwhether GPS is on or off F5 (GPS access/control) C10 Forcing GPS on ifoff F5 C11 Reporting of installed applications on client F6(Applications control) C12 Reporting of contacts F7 (Contact access) C13Locking interface based on time schedule F8 (Device interface lockingcontrol) C14 Locking interface based on driving F8 C15 Screen MessagingF9 (Communication with device user)

TABLE 4 Parent No. Resource Feature R1 Main text for lock screen F8 R2Message text for lock screen F8 R3 Auto reply text for lock screen F8 R4Override text for lock screen F8 R5 Emergency text for lock screen F8 R6Background image for lock screen F8 R7 Branding image for lock screen F8R8 Message regarding subscriber privacy F9

TABLE 5 Parent No. Parameter Feature/Capability P1 Which mobileapplications can run or be launched while interface F8, C13, and C14 islocked (e.g. a music playing application) P2 Which phone numbers caninterface-locked device continue to F8, C13, and C14 place calls to orreceive calls from P3 Which phone numbers can interface-locked devicecontinue to F8, C13, and C14 receive messages (e.g. SMS) from P4 Whethera hands free device connected to the interface-locked device F8, C13,and C14 (e.g. Bluetooth headset) can be used to place phone calls P5Whether an auto reply message is sent to a user/device sending a F8,C13, and C14 message (e.g. SMS) to the interface-locked device P6Message content C15 P7 URL link associated with message C15 P8 Whetherto launch device web browser and connect to URL C15 responsive tointeraction with message

Some functional components can be related to the extent thatmodification of the status of a particular functional component mayresult in modification in the status of one or more related functionalcomponents. Referring to FIG. 4 and Tables 1-4, a particular mobiledevice 150, can be enabled for example with features 302, settings 304,capabilities 306 and resources 308. Particular features 302 are relatedto particular capabilities 306 and particular resources 308, whereinmodification of the status of a particular capability 306 or particularresource may result in modification of the status of a particularfeature 302 or vice versa. Mobile device user-specific data(“subscriber-specific data”), for example mobile device location data,is disseminated by a mobile device based on status of the capabilities306, which data is stored in a subscriber database 36 in the serverstate manager 20 for dissemination to an authorized third partyapplication 70.

Referring to FIG. 5A, capabilities C1 (location streaming) and C2 (ondemand location requesting), are related to feature F1 (location dataaccess), wherein a change in status of feature F1 can result in a changein status of capability C1 or C2, or alternatively a change in status ofcapability C1 or C2 results in a change in status of feature F1. Forexample, a request from a third party application 70 to enable ordisable feature F1, immediately or during a scheduled time period,causes the server state manager 20 to update the server states andserver digests of feature F1 and capabilities C1 and C2 to reflect thatfeatures F1 and capabilities C1 and C2 are enabled or disabled. Inanother example a request from a third party application 70 to theserver state manager 20 via the third party interface 24 to disablelocation streaming capability C1 causes the state update engine 32 toupdate the server state of capability C1 and causes the digestgeneration engine 30 to update the server digest of capability C1. Therequest further causes the server state manager 20 to update the serverstate and server digest of the location data access feature F1.

Referring to FIG. 5B, capabilities C13 (Locking interface based on timeschedule) and C14 (Locking interface based on driving), and resourcesR1-R7 are related to feature F8 (Device interface locking control),wherein a change in status of feature F8 can result in a change instatus of capability C13 or C14, or alternatively a change in status ofcapability C13 or C14 results in a change in status of feature F8. Forexample, a request from a third party application 70 to enable ordisable the device interface locking control feature F8, immediately orduring a scheduled time period, causes the server state manager 20 toupdate the server states and server digests of feature F8 andcapabilities C13 and C14 to reflect that feature F8 and capabilities C13and C14 are enabled or disabled. In another example a request from athird party application 70 to the server state manager 20 via the thirdparty interface 24 to lock the mobile device interface during aparticular time period via capability C13 causes the state update engine32 to update the server state of capability C13 and causes the digestgeneration engine 30 to update the server digest of capability C13. Therequest further causes the server state manager 20 to update the serverstate and server digest of the device interface locking control featureF8.

In view of the above examples, capabilities C1 and C2 comprise acapability group which enables feature F1, and capabilities C13 and C14and resources R1-R7 enable features F8. Referring to Table 3capabilities C3 and C4 comprise a capability group which enables featureF2, capabilities C5 and C6 comprise a capability group which enablesfeature F3, capabilities C7 and C8 comprise a capability group whichenables feature F4, capabilities C9 and C10 comprise a capability groupwhich enables feature F5, capability C11 enables feature F6, capabilityC12 enables feature F7, capabilities C13 and C14 and resources R1-R7enable feature F8, capability C15 and resource R8 enable feature F9.

Referring to Table 5 and FIGS. 5C and 5D, particular enabled featuresand capabilities allow setting of parameters by a third partyapplication. For example as shown in FIG. 5C, a third party applicationenabling the locking interface based on driving capability C14 canset: 1) parameter P1 to select applications which can run when deviceinterface is locked, 2) parameter P2 to select phone numbers whichinterface-locked device can continue to place calls to or receive callsfrom, 3) parameter P3 to select phone numbers from which theinterface-locked device can continue to receive messages (e.g. SMS)from, 4) parameter P4 to select whether a hands free device connected tothe interface-locked device (e.g. Bluetooth headset) can be used toplace phone calls, and 5) parameter P5 to select whether an auto replymessage is sent to a user/device sending a message (e.g. SMS) to theinterface-locked device. As shown in Table 5, parameters P1 through P5are also applicable to capability C13, locking interface based on timeschedule, and feature F8, device interface locking control. As shown inFIG. 5D, a third party application enabling the screen messagingcapability C15 can set: 1) parameter P6 to specify message content, 2)parameter P7 to specify a URL link associated with a specified message,and 3) parameter P8 to select whether to launch a device web browser andconnect to a specified URL responsive to user interaction with aspecified message (e.g. user clicking on message).

Referring to FIG. 6, an illustrative communication flow 500 between theclient state manager 50 and the server state manager 20 is shown. Thecommunication flow 500 can occur for example responsive to mobile devicestartup, responsive to initiation of the client state manager 50,responsive to other event, or at predetermined scheduled time intervals(also termed herein as “heartbeat” communications). In a synchronouscommunication 502, the client state manager 50 transmits a request for aparticular functional component server state. In a synchronouscommunication 504, the server state manager 20 transmits (“sends”) theparticular functional component server state and server digestresponsive to the state request. The communications 502, 504 can besubstantially continuous as a single communication or separated by aninterval of time.

Referring to FIG. 7, another illustrative communication flow 510 betweenthe client state manager 50 and the server state manager 20 is shown. Inan asynchronous communication 512, 514, the server state manager 20transmits an updated functional component server digest (communication512) and the client state manager 50 receives the updated functionalcomponent server digest (communication 514). Communication 512 may beinitiated by the server state manager 20 in response to a server stateupdate, for example in response to an application request to modify thestatus of a functional component. In a synchronous communication 516,the client state manager 50 transmits a state request responsive to adetermination of a difference between the transmitted server digest anda corresponding client digest. In a synchronous communication 518, theserver state manager 20 transmits the particular functional componentserver state and server digest responsive to the state request. One ormore server digests can be sent in the communication 512, wherein theclient state manager 50 transmits a state request corresponding to thosestates for which there is a determined difference between thetransmitted server digest and a corresponding client digest(communication 516), and the server state manager 20 transmits one ormore states and one or more digests corresponding to the state request(communication 518).

Referring to FIG. 8, another illustrative communication flow 530 betweenthe client state manager 50 and the server state manager 20 is shown. Ina synchronous communication 532 the client state manager 50 transmits afirst state request corresponding to a particular state and particularfunctional component. The first state request can be transmitted by theclient state manager 50 for example responsive to a determination of adifference between a received server digest and a corresponding clientdigest for the particular state, which server digest can be received forexample in the manner shown in asynchronous communication 512, 514 ofFIG. 7. Alternatively, the first state request (communication 532) canbe transmitted by the client state manager 50 for example responsive tomobile device startup, responsive to initiation of the client statemanager 50, responsive to other event, or at predetermined scheduledtime intervals, as described above with reference to FIG. 6. In asynchronous communication 534, the server state manager 20 transmits theparticular functional component server state and server digestresponsive to the first state request. In a synchronous communication536 responsive to the first state request, the server state manager 20transmits another server digest corresponding to a related server stateand a related functional component which is related to the particularfunctional component corresponding to the first state request. Thecommunications 534, 536 can be substantially continuous as a singlecommunication or separated by an interval of time with communication 534or communication 536 first in time. In a synchronous communication 538,the client state manager 50 transmits a second state requestcorresponding to the related server state responsive to a determinationof a difference between the related server digest and a correspondingclient digest. In a synchronous communication 540, the server statemanager 20 transmits the related functional component server state andserver digest responsive to the second state request. One or more statescan be requested by the client state manager 50 in communications 532and 538, and one or more states or digests can be transmitted by theserver state manager in communications 534, 536 and 540.

A non-limiting example pursuant to the communication flows 510 and 530of FIGS. 7 and 8 follows. A 3^(rd) party application 70 transmits arequest to the server state manager 20 to enable the location streamingcapability C1 and on demand location requesting capability C2. Referringto Table 3, the capabilities C1 and C2 are related to the location dataaccess feature F1. Accordingly, states and digests corresponding tofunctional components C1, C2 and F1 are updated by the state updateengine 32 and digest generation engine 30. The server state manager 20transmits the server digest corresponding to the functional component F1to the client state manager 50, for example as shown in communication512, 514. The client state manager 50 transmits a request to the serverstate manager 20 for the server state corresponding to functionalcomponent F1 responsive to a determination of a difference between thereceived server digest for component F1 and the corresponding clientdigest (e.g. communication 532). The server state manager 20 transmitsthe server state corresponding to feature F1 and the updated serverdigests corresponding to capabilities C1 and C2 (e.g. communications534, 536). The client state manager 50 transmits a second state requestcorresponding to the server states for capabilities C1 and C2 responsiveto a determination of a difference between the received server digestsfor capabilities C1 and C2 and the corresponding client digests (e.g.communication 538) stored in the client digest database 58. The serverstate manager 20 transmits the component server states and serverdigests for capabilities C1 and C2 responsive to the second staterequest (e.g. communication 540) which are subsequently stored as therespective client states in the client state database 56.

Referring to FIG. 9, another illustrative communication flow 550 betweenthe client state manager 50 and the server state manager 20 is shown. Inan asynchronous communication 552, 556, the server state manager 20transmits an initial functional component server digest corresponding toa particular functional component (communication 552), and the clientstate manager 50 receives the initial functional component server digest(communication 556). At some point after transmitting the initial serverdigest, the server state manager 20 updates the status of the serverstate corresponding to the particular functional component, for examplein response to an application request. Responsive to the update, in asecond asynchronous communication the server state manager 20 transmitsan updated functional component server digest corresponding to theparticular functional component (communication 554), and the clientstate manager 50 receives the updated functional component server digest(communication 562). Prior to receiving the updated functional componentserver digest, in a synchronous communication 558 the client statemanager 50 transmits a state request responsive to a determination of adifference between the initial server digest and a corresponding clientdigest. In a synchronous communication 560, the server state manager 20transmits the updated server state and updated server digestcorresponding to the particular functional component responsive to thestate request. The client state manager stores the updated server stateas the client state for the particular functional component in theclient state database 56, for example by caching. Upon later receivingthe updated server digest in the asynchronous communication 562, theclient state manager 50 compares the updated server digest with thecorresponding client digest and determines no difference, wherein theclient state manager 50 does not transmit an additional state request.The delays in receiving the initial and updated server digests shown inFIG. 9 can result for example from network delays. A benefit of theinvention illustrated by the communication flow 550 is that storing ofdigests by the client state manager 50, results in fewer requiredsynchronous requests, even when network behavior causes asynchronouscommunications to arrive out of order or after a delay, therebyconserving network bandwidth, system resources and mobile device batterycharge.

Referring to FIGS. 1 and 10, the third party interface 24 of the serverstate manager 20 enables a plurality of application program interfaces(“APIs”) accessible to a third party application 70. In an initialprovisioning process, an application provisioning engine 34 generates anaccess control list which is stored in an access control list (“ACL”)database 38 restricting which features F1-Fn and capabilities C1-Cn canbe used by the third party application 70, and credentials are providedto the third party application 70 consistent with the access controllist via the provisioning API 600. Each feature F1-Fn is tied to an API602, 604, 606 and each capability is tied to an API 608, 610 and 612.Alternatively, APIs corresponding to any suitable functional componentscan be enabled.

The third party interface 24 receives API requests from the third partyapplication 70 and one or more credentials which are used by the serverstate manager 20 to identify the application 70 via the credentialidentification engine 40 and determine its corresponding access controllist from the ACL database 38. An API request from an application 70 fora particular capability API 608, 610, 612 will be rejected unless theapplication's access control list indicates that the application has userights for the particular capability C1-Cn. An API request from anapplication 70 for a particular feature API 602, 604, 606 will berejected unless the application's access control list indicates that theapplication 70 has use rights for the particular feature or at least onecapability C1-Cn related to the feature.

Using a subscriber discovery API 614, the third party application 70 canquery which mobile devices are implementing the client state manager 50and in communication with the server state manager 20. Preferably, thethird party application 70 provides a mobile device phone number orother user (“subscriber”) identifier or mobile device identifier via thesubscriber discovery API 614 to initiate a query regarding the mobiledevice. The third party application 70 can also query which functionalcomponents (e.g. features and capabilities) are enabled or available ona particular mobile device. The third party application 70 can use thisinformation to determine whether a client state manager 50 needs to beinstalled or upgraded on a particular mobile device.

A third party application 70 which requires access or control of aparticular mobile device via the client state manager 50 is preferablyrequired to obtain consent from a user with authority to make privacydecisions for the particular mobile device. Before accessing controls ofa functional component API such as the feature APIs 602, 604, 606 orcapability APIs 608, 610, 612, for example to modify status of afunctional component, a third party application 70 must record the userconsent with the particular functional component API. The consent isverified by a consent verification engine 42. In the absence of userconsent, access to the particular functional component API will berejected by the consent verification engine 42.

Because the server state manager 20 supports more than one third partyapplication 70 controlling a particular mobile device running the clientstate manager 50, the server state manager 20 is configured to resolveconflicts and ambiguities among application requests. The server statemanager can set priorities for the third party applications 70 whereinfor a particular mobile device the request of an application 70 with ahigher priority can override the request of an application 70 with alower priority. For example, a request from a higher priorityapplication 70 to enable location streaming capability C1 can override arequest from a lower priority application 70 to disable locationstreaming.

In a registration process when the client state manager 50 is initiallyexecuted on a mobile device, the client state manager 50 communicatesidentifying information and which functional components (e.g. features,capabilities, settings and resources) it supports to the server statemanager 20. A client provisioning engine 44 generates a unique tokenwhich the server state manager 20 transmits to the client state manager50 via the synchronous interface 52 to be used by the client statemanager 50 in subsequent communications with the server state manager20, ensuring that the mobile device running the client state manager 50can be reliably authenticated. During the registration process, theserver state manager 20 also preferably transmits a cryptographicallysecure code to the client state manager 50 via SMS or other telephonenumber-specific protocol. The client state manager 50 transmits thiscode back to the server state manager 20 to prove the validity of themobile device's phone number and allow the server state manager 20 touse the client state manager 50 to interact with functional componentsassociated with the phone number.

The client state manager 50 preferably periodically sends notificationmessages to the server state manager 20. These messages can indicatethat the mobile device is operational and that the client state manager50 is active and enabled. Messages can also include updates regardingwhich functional components are currently supported on the mobiledevice.

Given appropriate access control permissions, mobile device userconsent, and functional component status, a third party application 70can cause the client state manager 50 to send notifications withsubscriber-specific data to the server state manager 20. Thesubscriber-specific data preferably includes mobile device use datagathered by the mobile device during use. Referring to the capabilitiesshown in Table 3, data transmitted from the client state manager 50 tothe server state manager 20 can include for example mobile devicelocation data (capabilities C1 and C2) and SMS, MMS and voice callactivity data (capabilities C3-C8), application installation activity(capability C11), and contact activity (capability C12). Othercapabilities, for example forcing GPS on if off (C10), locking a mobiledevice interface based on time schedule or driving (capabilities C13 andC14), and mobile device screen messaging (capability C15), enable anapplication 70 to control a mobile device without causing transmissionof subscriber-specific data from the client state manager 50 to theserver state manager 20.

The server state manager 20 stores received subscriber-specific data inthe subscriber database 36 for a predetermined time period to permitgathering by an authorized application 70. The server state manager 20is configured to stream mobile device location to an application 70 percapability C1 and to transmit on demand location requests from anapplication 70 to a mobile device per capability C2. The server statemanager 20 is further configured to enable an authorized application 70to gather mobile device incoming and outgoing messaging activity percapabilities C3-C6. The server state manager 20 is further configured toenable an authorized application 70 to gather mobile device incoming andoutgoing voice call activity per capabilities C7 and C8. The serverstate manager 20 is further configured to enable an authorizedapplication 70 to gather indications of applications installed on amobile device per capability C11 and to gather indications of mobiledevice subscriber contacts per capability C12. The server state manager20 is further configured to enable an authorized application 70 togather an indication of whether GPS functionality is enabled or disabledon the mobile device per capability C9, and to transmit instructionsfrom the application 70 to the client state manager 50 to enable if offGPS functionality on the mobile device per capability C10.

An authorized third party application 70 can query the subscriberdatabase 36 via the third party interface 24, for example via a RESTfulAPI enabled by the server state manager 20. The server state manager 20can further implement Simple Update Protocol (SUP) or other suitableprotocol for notifying an authorized third party application 70 whenupdates to subscriber-specific data are available. The third partyinterface 24 is further preferably configured to receive preferenceindications from a third party application 70 regarding whatsubscriber-specific data it requires and at what frequency or under whatcircumstances. In such manner the server state manager 20 preferablysupports a publish-subscribe model in which an application 70 subscribesto a particular type of subscriber-specific data and receivesnotifications from the server state manager 20 when such data becomesavailable.

In another embodiment, a method is provided for obtaining via a networkthe location of a wireless mobile communication device (“mobiledevice”), for example an IPHONE™ brand mobile communication device. Themethod includes the following steps, referring for example to thesystems shown in FIGS. 2 and 3:

-   -   1—a server system sends a push message, for example using APPLE™        Push Notification (“APN”) service to a client application        residing on the mobile device, the push message requesting a        change to the application's icon badge number. The server system        can include for example the state server 120 implementing the        server state manager 20. The mobile device (e.g., mobile device        150) can for example run the client state manager 50 enabled by        the client application which can communicate with the server        state manager 20. The APPLE™ Push Notification (“APN”) service        can be enabled for example by the message aggregation server        180.    -   2—The client application can be in a foreground state or a        background state. If the application is in the foreground, the        application will intercept the push message directly. If the        application is in the background, the application will poll for        badge number changes.    -   3—In the event that a push message is detected, the client        application requests a current feature state from the server        system.    -   4—If the feature state indicates that a location is being        requested, then the user's location is determined via the        application.    -   5—The location of the user is then passed back to the server        system from the mobile device.

Changing the icon badge number with the push message is required becausewhen running in the background, the application may not have access toincoming push messages (e.g. APN messages). However, the state of theapplication icon badge number is accessible when the application isrunning in the background. By polling for changes to this badge numberwhile the application is running in the background, it is possible todetermine that the server system has requested the user's location.

Referring to FIGS. 2, 3, and 11, a method 700 for initiating andperforming an action on a computing device, for example the mobiledevice 150, is shown. The method 700 includes receiving by a computingdevice via a network a message transmitted to an application on thecomputing device, the application corresponding to a badge enabled by anoperating system of the computing device, the message comprising arequest to change a status indicator of the badge (step 702). Theapplication can enable for example a client state manager 50 on themobile device 150, and the message can be received for example from anetwork-connectable server such as the state server 120 which implementsthe server state manager 20. The status indicator of the badge caninclude an icon badge number, wherein changing the status indicatorinvolves changing the icon badge number.

The status indicator of the badge is changed by the computing deviceresponsive to the message (step 704). The application polls to determinea change in the status indicator of the badge (step 706), and theapplication determines a change in the status indicator of the badgebased on the polling (step 708). The application via the computingdevice transmits a state request to the server for a functionalcomponent state corresponding to at least one functional component ofthe device, wherein the state request is transmitted at least based onthe determination of the change in the status indicator (step 710). Thecomputing device receives the functional component state from the server(step 712). The application determines that the functional componentstate indicates a requirement to perform a particular action (step 714),and the particular action is performed by the computing device (step716). Functional components of a mobile device preferably includesoftware or hardware driven features, settings, capabilities andresources. Different devices may correspond to different functionalcomponents.

The requirement to perform a particular action can include a requirementto determine the location of the computing device for example when thecomputing device is embodied as a mobile device 150, wherein theapplication determines a location of the mobile device 150 and transmitsthe location of the mobile device to a server system 120. Theapplication can be executing in a background state corresponding to areduced use of resources of the mobile device 150 as compared to aforeground state in which the application is also executable, whereinthe status indicator of the badge is changed while the application isexecuting in the background state.

Referring to FIGS. 11 and 12, a method 800 shows server-side operationscorresponding to the above-described method 700 for initiating andperforming an action on a computing device. In a step 802 a message, forexample a push message, is transmitted from a server system to anapplication on a computing device, the message requesting a change in astatus indicator of a badge associated with the application. Thecomputing device receives the message (step 702) and transmits a staterequest to the server for a functional component state (step 710), asdescribed above. The server receives the state request (step 804) andtransmits the corresponding functional component state to the device(step 806), which device receives the functional component state in step712 as described above.

While embodiments of the invention have been described in detail above,the invention is not limited to the specific embodiments describedabove, which should be considered as merely exemplary. Furthermodifications and extensions of the invention may be developed, and allsuch modifications are deemed to be within the scope of the invention asdefined by the appended claims.

What is claimed is:
 1. A method for initiating and performing an actionon a computing device, the method comprising: executing by the computingdevice an application by the computing device in a background state,wherein the background state corresponds to a reduced use of resourcesof the computing device as compared to a foreground state in which theapplication is also executable; transmitting by a server via a network amessage to the application executable on a computing device, theapplication corresponding to a badge enabled by an operating system ofthe computing device, the message comprising a request to change astatus indicator of the badge; receiving by the computing device themessage and changing the status indicator of the badge responsive to themessage while the application is executing in the background state;polling by the application to determine a change in the status indicatorof the badge while the application is executing in the background state;determining by the application a change in the status indicator of thebadge based on the polling; transmitting by the application via thecomputing device a state request to the server for a functionalcomponent state corresponding to at least one functional component ofthe computing device, wherein the state request is transmitted at leastbased on the determination of the change in the status indicator of thebadge associated with the application executing in the background state;receiving by the server the state request from the application;transmitting by the server the functional component state to thecomputing device; receiving by the computing device from the server thefunctional component state requested by the application; determining bythe application that the functional component state indicates arequirement to perform a particular action on the computing device; andperforming the particular action by the application, wherein the actiontriggers at least one of enabling, disabling, or modifying of a statusor parameter of the at least one functional component of the computingdevice.
 2. The method of claim 1, wherein the message is a push message.3. The method of claim 2, wherein the server uses APPLE™ PushNotification Service to deliver the push message via an intermediarysystem in the network.
 4. The method of claim 1, wherein: the statusindicator of the badge is an icon badge number; and changing the statusindicator comprises changing the icon badge number.
 5. The method ofclaim 1, wherein the computing device is a mobile device and thefunctional component state indicates a requirement to determine alocation of the mobile device, the method further comprising: initiatingby the application a determination of the location of the mobile deviceresponsive to the functional component state; and transmitting by theapplication via the computing device the location of the mobile device.6. The method of claim 1, wherein: the application does not have accessto incoming messages while executing in the background state; and thepolling by the application to determine a change in the status indicatorof the badge is enabled while the application is executing in thebackground state.
 7. A method for initiating and performing an action ona mobile computing device, the method comprising: executing, by themobile computing device an application by the mobile computing device ina background state, wherein the background state corresponds to areduced use of resources of the mobile computing device as compared to aforeground state in which the application is also executable; receivingby the mobile computing device via a network while the application isexecuting in the background state a message transmitted to theapplication on the mobile computing device, the applicationcorresponding to a badge enabled by an operating system of the mobilecomputing device, the message comprising a request to change a statusindicator of the badge; changing by the mobile computing device thestatus indicator of the badge responsive to the message; polling by theapplication to determine a change in the status indicator of the badgewhile the application is executing in the background state; determiningby the application a change in the status indicator of the badge basedon the polling; transmitting by, the application via the mobilecomputing device a state request to a server for a functional componentstate corresponding to at least one functional component of the mobilecomputing device, wherein the state request is transmitted at leastbased on the determination of the change in the status indicator of thebadge associated with the application executing in the background state;receiving by the mobile computing device from the server the functionalcomponent state requested by the application; determining by theapplication that the functional component state indicates a requirementto perform a particular action on the mobile computing device; andperforming the particular action by the application, wherein the actiontriggers at least one of enabling, disabling, or modifying of a statusor parameter of the at least one functional component of the computingdevice.
 8. The method of claim 7, wherein the functional component stateindicates a requirement to determine a location of the mobile device,the method further comprising: initiating by the application adetermination of the location of the mobile device responsive to thefunctional component state; and transmitting by the application via thecomputing device the location of the mobile device.
 9. A system forinitiating and performing an action on a computing device, the systemcomprising: a server comprising one or more processing units and one ormore data stores and a computing device operable in a network, thecomputing device comprising non-transitory computer readable storagemedium and a processor, wherein the server is configured to transmit viathe network a message to an application executable on the computingdevice, the application corresponding to a badge enabled by an operatingsystem of the computing device, the message comprising a request tocharge a status indicator of the badge; the computing device isconfigured via the processor to execute an application in a backgroundstate, wherein the background state corresponds to a reduced use ofresources of the computing device as compared to a foreground state inwhich application is also executable; the computing device is configuredvia the processor to receive the message while the application isexecuting in the background state and charge the status indicator of thebadge responsive to the message; the computing device is configured viathe processor to enable polling by the application while the applicationis executing in the background state to determine a change in the statusindicator of the badge; the computing device is configured via theprocessor to enable determining by the application a change in thestatus indicator of the badge based on the polling; the computing deviceis configured via the processor to enable transmitting a state requestto the server for a functional component state corresponding to at leastone functional component of the computing device, wherein the staterequest is transmitted at least based on the determination of the changein the status indicator of the badge associated with the applicationexecuting in the background state; the server is configured to receivethe state request from the application; the server is configured totransmit the functional component state to the computing device; thecomputing device is configured via the processor to receive from theserver the functional component state requested by the application; thecomputing device is configured via the processor to enable determiningby the application that the functional component state indicates arequirement to perform a particular action; and the computing device isconfigured via the processor to perform the particular action, whereinthe action triggers at least one of enabling, disabling, or modifying ofa status or parameter of the at least one functional component of thecomputing device.
 10. The system of claim 9, wherein the computingdevice is a mobile device and the functional component state indicates arequirement to determine a location of the mobile device, and wherein:the mobile device is configured via the processor to enable initiatingby the application a determination of the location of fine mobile deviceresponsive to the functional component state; and the mobile device isconfigured via the processor to transmit the location of the mobiledevice to the server.